{% extends "base.html" %}
{% block content %}


    <!--main content开始-->
<div class="container main-container">
    <div class="row login-main">
        <div class="col-md-8 col-md-offset-2">
            <div class="panel panel-default">
                <div class="panel-heading text-center">
                    <h4 id="login-heading">新用户注册</h4>
                </div>
                <div class="panel-body">
                    <div class="row ">
                        <form method="post" class="col-md-8 col-md-offset-2 login-action" enctype="multipart/form-data">
                            <!--login action开始-->
                            <input type="hidden" name="csrfmiddlewaretoken" value="vbj05uiCzqOhl8Loiun39r4ihM6UnJBq">
                            <div class="form-group form-group-lg center-block " id="login-account">
                                <p>用户名</p>
                                <div class="intl-tel-input"><input class="form-control" id="id_account" type="text" name="username" autocomplete="username" value="" placeholder="请输入您的手机号作为用户名"></div>
                                <p>{{warning}}</p>
                                <input class="form-control hidden" id="id_real_account" name="account" type="text">
                                <div id="account_error" class="line-alert text-dange" hidden=""></div>
                            </div>
                            <div class="form-group form-group-lg center-block " id="login-password">
                                <p>密码</p> <input class="form-control" id="id_password" name="password" placeholder="请输入您的密码" type="password">                             
                                <div id="password_error" class="line-alert text-danger" hidden=""></div>
                            </div>
                            <input type="submit" class="btn btn-primary btn-lg  btn-block login-action-button" value="注册">
                        </form>
                        <!--login action end-->
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
    <!--main content结束-->



{% endblock %}























<!--<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>注册</title>
</head>

<body>
<h1>注册页面：</h1>
<form method = 'post' enctype="multipart/form-data">
    {% csrf_token %}
    {{urf.as_p}}
    <input type="submit" value = "注册" />
</form>
<br>
<a href="http://127.0.0.1:8000/zhensuoguanli/login/">登陆</a>
</body>
</html>-->